package com.shixulin.domain;

public enum Message {

    SUCCESS(300,"操作成功"),
    FAIL(200,"操作失败")
    ;



    int code;
    String msg;

    Message(int code, String errorMessage){
        this.code = code;
        this.msg = errorMessage;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
